<%@ Page Language="C#" AutoEventWireup="true" CodeFile="actions.aspx.cs" Inherits="Private_CMS_main_actions" %>
<%@ Register TagPrefix="flux" Namespace="Deepcode.Flux.Core.UI.Controls" Assembly="Deepcode.Flux.Core" %>

<html>
<head runat="server">
	<link href="../../../Asset/Style/GeneralStyle.css" rel="stylesheet" type="text/css" />
	<link href="localstyle.css" rel="stylesheet" type="text/css" />
	<script language="javascript">
	function confirmDelete()
	{
		if( confirm("Are you sure you want to delete this content and all of it's children"))
			return confirm("Are you 100% sure. This action is not undoable and will result in permanent deletion");
		
		return false;			
	}
	function confirmCheckout()
	{
		return confirm("Checkout this content for editing only by you ?");
	}
	function reloadNow()
	{
		self.location.href = "actions.aspx?ContentID=<%=ContentID%>";
	}
	</script>
</head>
<body class="nopadshaded">
<form id="form1" runat="server">
<flux:HostTable runat="server">

<flux:Section runat="server" WithFooter="true">
<flux:ShadePadBox runat="server" CssClass="infoarea">
	<table cellspacing="0" cellpadding="3" border="0" class="small">
	<tr><td><b>Content:</b></td>
		<td colspan="2">&nbsp;&nbsp;&nbsp;</td>
		<td colspan="2"><asp:Label runat="server" ID="txtContentName"/></td>
		</tr>
	<tr><td nowrap="nowrap"><b>Content ID:</b></td>
		<td><asp:Label runat="server" ID="txtContentID"/></td>
		<td>&nbsp;&nbsp;&nbsp;</td>
		<td><b>Path:</b></td>
		<td width="100%"><asp:Label runat="server" ID="txtContentPath"/></td>
		</tr>
	<tr><td><b>Status:</b></td>
		<td colspan="2">&nbsp;&nbsp;&nbsp;</td>
		<td colspan="2"><asp:Label runat="server" ID="txtStatus"/></td>
		</tr>
	</table>
</flux:ShadePadBox>
</flux:Section>
<div style="background-color:#fafaf0;">
	<table width="100%" cellspacing="0" cellpadding="1" border="0">
	<tr><td width="33%"><flux:ActionButton runat="server" ID="actAddNew" Text="Add New"/></td>
		<td width="33%"><flux:ActionButton runat="server" ID="actEdit" Text="Edit"/></td>
		<td width="33%"><flux:ActionButton runat="server" ID="actDelete" Text="Delete"/></td>
		</tr>
	<tr><td><flux:ActionButton runat="server" ID="actCheckout" Text="Check out"/></td>
		<td><flux:ActionButton runat="server" ID="actCheckin" Text="Check in"/></td>
		<td><flux:ActionButton runat="server" ID="actSubmit" Text="Submit for approval"/></td>
		</tr>
	<tr><td><flux:ActionButton runat="server" ID="actVersionHistory" Text="Version History"/></td>
	    <td><flux:ActionButton runat="server" ID="actMoveUp" Text="Move Up"/></td>
		<td><flux:ActionButton runat="server" ID="actMoveDown" Text="Move Down"/></td>
		</tr>
	<tr><td colspan="3"><flux:ActionButton runat="server" ID="actCopy" Text="Copy to clipboad"/></td></tr>
	<tr><td><flux:ActionButton runat="server" ID="actPasteMove" Text="Paste Move"/></td>
	    <td><flux:ActionButton runat="server" ID="actPasteCopy" Text="Paste Copy"/></td>
	    <td><flux:ActionButton runat="server" ID="actPasteCopyChild" Text="Paste Copy with Children"/></td>
	    </tr>

	</table>
</div>
</flux:HostTable>

</form>
</body>
</html>
